package org.bonorsoft.modules.control.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.bonorsoft.modules.control.entity.Places;
import com.baomidou.mybatisplus.extension.service.IService;
import org.bonorsoft.modules.control.vo.PlacesVo;

import java.util.List;

/**
 * @Description: 四闲场所
 * @Author: WilliamYe
 * @Date: 2021-04-16
 * @Version: V1.0
 */
public interface IPlacesService extends IService<Places> {
    IPage<PlacesVo> paging(Page<Places> page, QueryWrapper<Places> queryWrapper);

    /**
     * 获取带头像的数据
     *
     * @param queryWrapper
     * @return
     */
    List<PlacesVo> listing(QueryWrapper<Places> queryWrapper);

    int saveBatchPhoto(List<PlacesVo> list);
}
